package intermediate_representation;

public class ReturnRP extends InterRP {
    private String ret;

    public ReturnRP(String ret) {
        this.ret = ret;
    }

    public ReturnRP() {

    }

    public String getRet() {
        return ret;
    }

    public String toString() {
        if (ret != null) {
            return "return " + ret;
        } else {
            return "return";
        }
    }
}
